projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2780711
)
(c-guess-basic-syntax): prevent a macro call inside a struct being
author
Alan Mackenzie
<acm@muc.de>
Mon, 14 Jan 2008 19:17:31 +0000
(19:17 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Mon, 14 Jan 2008 19:17:31 +0000
(19:17 +0000)
recognised as a K&R argument.
lisp/progmodes/cc-engine.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-engine.el
b/lisp/progmodes/cc-engine.el
index 3f86e931d34f741ec19b0831103307b154c47a66..8596aaad4c2274f79bb357e6be8aa7f99c6724ba 100644
(file)
--- a/
lisp/progmodes/cc-engine.el
+++ b/
lisp/progmodes/cc-engine.el
@@
-8293,6
+8293,7
@@
comment at the start of cc-engine.el for more info."
;; CASE 5H: we could be looking at subsequent knr-argdecls
((and c-recognize-knr-p
+ (not containing-sexp) ; can't be knr inside braces.
(not (eq char-before-ip ?}))
(save-excursion
(setq placeholder (cdr (c-beginning-of-decl-1 lim)))